source/d/wrap.d(17,35): Error: `@safe` function `janet.wrap.fromJanetString` cannot call `@system` function `std.string.fromStringz!char.fromStringz` /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/string.d(222,15): `std.string.fromStringz!char.fromStringz` is declared here source/d/wrap.d(17,12): Error: cast from `const(char)[]` to `string` not allowed in safe code source/d/wrap.d(25,35): Error: `@safe` function `janet.wrap.fromJanetString` cannot call `@system` function `std.string.fromStringz!char.fromStringz` /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/string.d(222,15): `std.string.fromStringz!char.fromStringz` is declared here source/d/wrap.d(25,12): Error: cast from `const(char)[]` to `string` not allowed in safe code source/d/wrap.d(382,13): Error: `@safe` function `janet.wrap.freeWrappedClass` cannot call `@system` function `core.memory.pureFree!().pureFree` /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../druntime/import/core/memory.d(991,6): `core.memory.pureFree!().pureFree` is declared here /opt/dmd-safe/dmd/dmd-safe failed with exit code 1.